package me.jessyan.mvparms.demo.mvp.ui.activity.account;

import android.graphics.Paint;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.jess.arms.base.BaseActivity;
import com.jess.arms.di.component.AppComponent;

import me.jessyan.mvparms.demo.R;
import me.jessyan.mvparms.demo.mvp.ui.widget.CustomToolbar;
import me.jessyan.mvparms.demo.utils.PerfectClickListener;

/**
 * 收不到验证码
 */
public class VerifyAskingActivity extends BaseActivity {

CustomToolbar toolbar;



    @Override
    public void setupActivityComponent(@NonNull AppComponent appComponent) {

    }

    @Override
    public int initView(@Nullable Bundle savedInstanceState) {
        return R.layout.activity_verify_asking;
    }

    @Override
    public void initData(@Nullable Bundle savedInstanceState) {
      toolbar =  findViewById(R.id.toolbar);

      toolbar.setListener(new CustomToolbar.ToolbarListener() {
          @Override
          public void onLeftBack() {
              finish();
          }

          @Override
          public void onRightBack() {

          }
      });

      findViewById(R.id.sure_tv).setOnClickListener(new PerfectClickListener() {
          @Override
          protected void onNoDoubleClick(View v) {
              finish();
          }
      });



    }
}
